import time
import threading


def dance(msg):
    while True:
        print(msg)
        time.sleep(1)


def sing(msg):
    while True:
        print(msg)
        time.sleep(2)


if __name__ == '__main__':
    dance_thread = threading.Thread(target=dance, args=('我跳舞💃',))
    sing_thread = threading.Thread(target=sing, kwargs={'msg': '我唱歌🎵'})
    dance_thread.start()
    sing_thread.start()
